feat(test/docs/ci): add ci/cd pipeline and deployment & enhance testing docs#1
Merged
hoangsonww merged 8 commits intomasterfrom Jul 6, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a full CI/CD pipeline, automates AWS deployments, and enhances testing & documentation.
- Add GitHub Actions workflow for linting, testing, coverage, packaging, Docker builds, and deployment
- Introduce shell scripts for Terraform init/apply/destroy, Lambda packaging, and S3 asset deployment
- Integrate Supabase authentication and realtime tasks in
TaskContext, plus update scripts, Dockerfiles, and README badges
Reviewed Changes
Copilot reviewed 46 out of 48 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/ci.yml | New CI/CD pipeline covering lint, test, coverage, build, and deploy |
| shell/package-lambda.sh | Lambda packaging script (zip creation) |
| shell/update-lambda.sh | Script to apply only the Lambda function via Terraform |
| contexts/TaskContext.tsx | Supabase auth, fetch/realtime task subscriptions |
| README.md | Updated badges and removed outdated sections |
Comments suppressed due to low confidence (1)
contexts/TaskContext.tsx:115
- The effect that subscribes to Supabase realtime changes does not return a cleanup function to unsubscribe the channel, which may cause a memory leak when the component unmounts or
userchanges—consider addingreturn () => supabase.removeChannel(chan);.
useEffect(() => {
a2974f3 to
af74547
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.